<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.easy.auth.domain.Action"%>
<%
	@SuppressWarnings("unchecked")
	List<Map<Action, List<Action>>> menuList = (List<Map<Action, List<Action>>>)session.getAttribute("menuList");
%>
<div id="accordionMenu" class="easyui-accordion"
	style="width: 100%; height: 100%;">
	
	<%
		for(Map<Action, List<Action>> map : menuList){
			for(Action first : map.keySet()){
	%>
	<div title="<%=first.getOname() %>" data-options="selected:true"
		style="padding: 10px;">
		<%
						for(Action second : map.get(first)){
					%>
		<h3 style="color: #0099FF;">
			<a href="<%=request.getContextPath()+second.getUrl()%>"><%=second.getOname() %></a>
		</h3>
		<%
						}
					%>
	</div>
	<%
			}
		}
	%>
</div>